package com.ai.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "planet.ai")
@Configuration
@Data
public class PlanetAIProperties {

    // RAG 配置
    private RagConfig rag;


    @Data
    public static class RagConfig {
        private Integer chunkSize;

        private Integer minChunkSizeChars;

        private Integer minChunkLengthToEmbed;

        private Integer maxNumChunks;

        private Boolean keepSeparator;
    }
}
